<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--jstl을 쓰기 위해 사용 --%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %><%--숫자 포맷을 사용하기 위해 사용 --%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions"  prefix="fn"%><%--함수들을 이용하기 위해 사용 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!--<script type="text/javascript" src="script/project.js"></script>-->
</head>
<body>
<div class="box">
	<h4 class="white">환경설정</h4>
	 <div class="box-container2" style="height: 471px">
		 <form action="memberAction.do" method="post" name="member">
	 		<c:choose>
				<c:when test="${requestScope.update=='Y' }">
					 <input type="hidden" name="mode" value="member_update"></input>
				</c:when>
				<c:otherwise>
				    <input type="hidden" name="mode" value="member_insert"></input>
				</c:otherwise>
			</c:choose>	
		 	<table class="insertTable" style="width: 380px">
	   			<tfoot>
	   				<tr>
	   					<td>
	                     	<div class="align-right"><a href="#" class="button" onclick="javascript: memberWrite();return false;"><span>저장</span></a>
	                     	<a href="#" class="button" onclick="javascript: cancleMemberWrite('memberConfig')"><span>닫기</span></a></div>
	                     </td>
	   				</tr>
	   			</tfoot>
	   		</table>
	   		<table class="insertTable" style="width: 380px">
	   			<colgroup>
	   				<col width="80"/>
	   				<col width="300"/>
	   			</colgroup>
	   			<tbody>
	   				<tr>
	   					<th>사용자ID</th>
	   					<td>
	   						<c:choose>
								<c:when test="${requestScope.update=='Y' }">
									<input type="text" name="logID" id="insertNum"  value="${vo.logID }"  maxlength="30" size="30"  readonly="readonly"  onkeydown='notSpaceKey(event)'></input>
								</c:when>
								<c:otherwise>
									<input type="text" name="logID" id="insertNum" style="IME-MODE: disabled;" value="${vo.logID }" maxlength="30" size="30" onblur="javascript: searchMemberId(this)" onkeyup='inputCheckSpecial(this)' onkeydown='notSpaceKey(event)'></input>
								</c:otherwise>
							</c:choose>		
						</td>
	   				</tr>
	   				<tr>
	   					<th>패스워드</th>
	   					<td>
	   						<input type="text" name="password" id="password" style="IME-MODE: disabled;" maxlength="30" size="30" onkeyup="javascript: inputCheckSpecial(this)" onkeydown='notSpaceKey(event)' value="${requestScope.vo.password }" ></input>
	   					</td>
	   				</tr>
	   				<tr>
	   					<th>이름</th>
	   					<td>
	   						<input type="text" name="name" id="name"  maxlength="30" size="30" onkeyup="javascript: inputCheckSpecial(this)" value="${requestScope.vo.name }" ></input>
	   					</td>
	   				</tr>
	   			</tbody>
	   		</table>
   		</form>
	</div>
</div>
</body>
</html>
